package com.utrailer.wlt.order.service.feign;

import com.utrailer.common.rest.ResultVO;
import feign.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * OpenFeign 测试Service
 *
 * @author Chen Song
 * @since
 */
@FeignClient(value = "wlt-resource")
public interface FeignVehicleService {

    @RequestMapping("/vehicle/detail")
    ResultVO<String> getById(@RequestParam("id") Long id);

}
